package com.h2cloud.annotation.Junit;

/**
 * @Package: com.h2cloud.annotation
 * @ClassName: EmployeeDAOTest
 * @Author: h2cloud
 * @CreateTime: 2021/8/9 9:08 下午
 * @Description:
 */

import com.h2cloud.annotation.Junit.anno.MyAfter;
import com.h2cloud.annotation.Junit.anno.MyBefore;
import com.h2cloud.annotation.Junit.anno.MyTest;

/**
 * 和我们平时使用Junit测试时一样
 *
 * @author qiyu
 */
public class EmployeeDAOTest {
    @MyBefore
    public void init() {
        System.out.println("初始化...");
    }

    @MyAfter
    public void destroy() {
        System.out.println("销毁...");
    }

    @MyTest
    public void testSave() {
        System.out.println("save...");
    }

    @MyTest
    public void testDelete() {
        System.out.println("delete...");
    }
}
